package com.zbkj.admin.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
public class SFExpressRouteVo {

    @JsonProperty("return_code")
    private String returnCode;

    @JsonProperty("return_msg")
    private String returnMsg;

    public static SFExpressRouteVo success() {
        SFExpressRouteVo sfExpressRouteVo = new SFExpressRouteVo();
        sfExpressRouteVo.setReturnCode("0000");
        sfExpressRouteVo.setReturnMsg("成功");
        return sfExpressRouteVo;
    }

    public static SFExpressRouteVo error() {
        SFExpressRouteVo sfExpressRouteVo = new SFExpressRouteVo();
        sfExpressRouteVo.setReturnCode("1000");
        sfExpressRouteVo.setReturnMsg("异常");
        return sfExpressRouteVo;
    }
}
